package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.SHOP.entity.*;

import java.util.List;

public interface GoodsMapper {

    List<GoodsArea> getGoodsArea(String token);

    Integer upGoodsState(String id,String isPutaway);

    List<Goods> goodsAllByInventory();


    String getSizeCodeByCodeColorSize(String code,String color,String size);

    Goods getGoodsById(String id);

    List<GoodsItemImg> getGoodsItemImg(String gid);

    List<Goods> goodsByType(Integer start,String type,String token);

    List<Goods> goodsAll(Integer start,String token);//小程序所有商品

    List<Goods> recommendData(String token);//推荐商品

    List<Goods> findGoodsByBrandId(Integer start,String id,String token);

    List<Brand> showBrand(String token);

    List<GoodsSize> GetGoodsSize(String id);

    GoodsItem findGoodsItemByCode(String gid,String code);

    List<GoodsItem> findGoodsItem(String gid);

    List<Goods> findGoods(Integer start,String name,String token);

    List<Goods> showGoods(String token);

    Goods getGoods(String id);

    List findGoodsBanner(String gid);

    List<Classify> getClassify(String token);

    List<Goods> showGoodsByClassify(Integer start,String classify,String token);

    Goods selectBygid(String gid);

    Goods findGoodsInfoById(String gid);
}
